<%--
  Created By: adrian
  Date Created: 1:50 PM 6/5/13
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<style>
    .cell {
        border: 1px solid black;
    }
</style>
<head>
    <title></title>
</head>
<body>

</body>

<div style="float:left">
    <table style="width: 100%; border:1px solid;">
        <tr>
            <th class="cell">
                Project Name
            </th>
            <th class="cell">
                Budget
            </th>
            <th class="cell">
                Tasks
            </th>
        </tr>
        <c:forEach var="p" items="${projectList}">
            <tr>
                <td class="cell">
                    <c:out value="${p.name}"/>
                </td>
                <td class="cell">
                    <c:out value=" ${p.budget}"/>
                </td>
                <td class="cell">
                    <a href="projects/assignments?projectId=${p.id}">Assignments</a>
                </td>
            </tr>
        </c:forEach>
    </table>

</div>

<div style="float:right; border:1px solid;">
    <h3>Other Tasks</h3>
        <a href="projects/create">Create Project..</a></br>
        <a href="persons/create">Create Person..</a>
</div>

</html>